//
//  BannerFlowLayout.swift
//  EyeVisionForPatients
//
//  Created by PMC on 2020/3/10.
//  Copyright © 2020 tao Tao. All rights reserved.
//

import UIKit

class BannerFlowLayout: UICollectionViewFlowLayout {
    override func prepare() {
        itemSize = collectionView?.bounds.size ?? .zero
        minimumLineSpacing = 0
        minimumInteritemSpacing = 0
        scrollDirection = .horizontal
    }
}
